On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sat, 7 Mar 2026 10:25:14 +0000 (11:25 +0100)
committerAurélien COUDERC <coucouf@debian.org>
Sat, 7 Mar 2026 10:25:14 +0000 (11:25 +0100)
commit073b820df916586268c1d64a18a77f56b19823f3
treede972fe495365f759de7c3afb57355f7d99e9799
parent6295481a82389a78d1abdfd2cd95a4d1a2890bb0
On Hurd, do not look for functions unimplemented in libc

Last-Update: 2024-05-09
Forwarded: not-needed

The check_function_exists() function of cmake does not keep into account the
defines that glibc provides for the stubs (i.e. unimplemented functions that
always return ENOSYS), so some functions are detected as available.
Unfortunately, due to --fatal-warnings for the linker, linking will fail.
Hence, do not attempt to look for functions that are currently unimplemented
on GNU/Hurd's libc.

Gbp-Pq: Name hurd_disable_unimplemented.diff
src/kioworkers/file/ConfigureChecks.cmake